package com.guigu.tms.commons.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 车辆类型表
 * </p>
 *
 * @author zhh
 * @since 2022-09-23
 */
@TableName("pd_truck_type")
public class TruckType implements Serializable {

    private static final long serialVersionUID = 1L;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    private String id;

    public Integer getTruckTypeId() {
        return truckTypeId;
    }

    public void setTruckTypeId(Integer truckTypeId) {
        this.truckTypeId = truckTypeId;
    }

    @TableId(value = "truck_type_id", type = IdType.AUTO)

    private Integer truckTypeId;

    /**
     * 车辆类型名称
     */
    private String name;

    /**
     * 准载重量
     */
    private BigDecimal allowableLoad;

    /**
     * 准载体积
     */
    private BigDecimal allowableVolume;

    /**
     * 长
     */
    private BigDecimal measureLong;

    /**
     * 宽
     */
    private BigDecimal measureWidth;

    /**
     * 高
     */
    private BigDecimal measureHigh;

    /**
     * 状态 0：禁用 1：正常
     */
    private Integer status;






    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public BigDecimal getAllowableLoad() {
        return allowableLoad;
    }

    public void setAllowableLoad(BigDecimal allowableLoad) {
        this.allowableLoad = allowableLoad;
    }
    public BigDecimal getAllowableVolume() {
        return allowableVolume;
    }

    public void setAllowableVolume(BigDecimal allowableVolume) {
        this.allowableVolume = allowableVolume;
    }
    public BigDecimal getMeasureLong() {
        return measureLong;
    }

    public void setMeasureLong(BigDecimal measureLong) {
        this.measureLong = measureLong;
    }
    public BigDecimal getMeasureWidth() {
        return measureWidth;
    }

    public void setMeasureWidth(BigDecimal measureWidth) {
        this.measureWidth = measureWidth;
    }
    public BigDecimal getMeasureHigh() {
        return measureHigh;
    }

    public void setMeasureHigh(BigDecimal measureHigh) {
        this.measureHigh = measureHigh;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "TruckType{" +
            "id=" + id +
            ", name=" + name +
            ", allowableLoad=" + allowableLoad +
            ", allowableVolume=" + allowableVolume +
            ", measureLong=" + measureLong +
            ", measureWidth=" + measureWidth +
            ", measureHigh=" + measureHigh +
            ", status=" + status +
        "}";
    }
}
